package com.edu.study.base.StuQuestionPaper.domain;

import com.edu.study.base.stuQuestionCatalog.domain.StuQuestionCatalog;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题卷对象 stu_question_paper
 * 
 * @author jjt
 * @date 2021-05-20
 */
public class StuQuestionPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 题卷名称 */
    @Excel(name = "题卷名称")
    private String name;

    @Excel(name = "题卷类型")
    private String paperType;


    /** 题卷题目目录 */
    @Excel(name = "题卷题目目录")
    private Long catalogId;


    /** 目标主业务类型 */
    @Excel(name = "目标主业务类型")
    private String targetMainBussType;

    /** 目标主业务表名 */
    @Excel(name = "目标主业务表名")
    private String targetMainTableName;

    /** 等级id */
    @Excel(name = "等级id")
    private Long levelId;

    /** $column.columnComment */
    private Long createId;

    /** $column.columnComment */
    private Long updateId;

    private Boolean enabled;

    private String levelName;

    private StuQuestionCatalog catalog;


    public StuQuestionCatalog getCatalog() {
        return catalog;
    }

    public void setCatalog(StuQuestionCatalog catalog) {
        this.catalog = catalog;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getPaperType() {
        return paperType;
    }

    public void setPaperType(String paperType) {
        this.paperType = paperType;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCatalogId(Long catalogId) 
    {
        this.catalogId = catalogId;
    }

    public Long getCatalogId() 
    {
        return catalogId;
    }
    public void setTargetMainBussType(String targetMainBussType) 
    {
        this.targetMainBussType = targetMainBussType;
    }

    public String getTargetMainBussType() 
    {
        return targetMainBussType;
    }
    public void setTargetMainTableName(String targetMainTableName) 
    {
        this.targetMainTableName = targetMainTableName;
    }

    public String getTargetMainTableName() 
    {
        return targetMainTableName;
    }
    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("catalogId", getCatalogId())
            .append("targetMainBussType", getTargetMainBussType())
            .append("targetMainTableName", getTargetMainTableName())
            .append("levelId", getLevelId())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .toString();
    }
}
